<?php /* Smarty version 2.6.14, created on 2015-03-30 14:35:00
         compiled from user.add.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'user.add.html', 41, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="<?php echo $this->_tpl_vars['formAction']; ?>
" method="POST" <?php if ($this->_tpl_vars['is_validator']): ?> onsubmit="return Validator.Validate(this)" <?php endif; ?>>
<!--<dl class="adminoption">
  <dt></dt> 
  <dd><a href="#tab1"><?php echo $this->_tpl_vars['systemLang']['baseInfo']; ?>
</a></dd> 
  <dd><a href="#tab2"><?php echo $this->_tpl_vars['systemLang']['authority']; ?>
</a></dd> 
</dl>
<div id="tab1" class="tab">-->
<table width="100%" border="0" class="adminform">
  <tr>
    <th align="left"><?php echo $this->_tpl_vars['systemLang']['name']; ?>
</th>
  </tr>
  <tr>
    <td align="left"><input type="text" class="text" name="form[user_true_name]" value="<?php echo $this->_tpl_vars['user']['user_true_name']; ?>
" id="form[user_truename]" dataType="Require" msg="<?php echo $this->_tpl_vars['systemLang']['nameRequire']; ?>
"  /></td>
  </tr>
    <tr><th align="left"><?php echo $this->_tpl_vars['systemLang']['nickName']; ?>
</th>
    </tr>
    <tr>
      
      <td align="left"><label>
        <input type="text" class="text"  name="form[user_name]"  value="<?php echo $this->_tpl_vars['user']['user_name']; ?>
" id="form[user_name]" dataType="Require" msg='<?php echo $this->_tpl_vars['systemLang']['nickNameRequire']; ?>
'/>
      </label></td>
    </tr>
     <tr><th align="left"><?php echo $this->_tpl_vars['systemLang']['pwd']; ?>
</th>
    </tr>
    <tr>
     
      <td align="left"><input  type="password" class="text" name="form[user_pwd]" id="form[user_pwd]"/></td>
    </tr>
      <tr><th align="left"><?php echo $this->_tpl_vars['systemLang']['replayPwd']; ?>
</th>
    </tr>
    <tr>
     
      <td align="left"><input name="repwd" class="text" type="password" id="repwd" dataType="Repeat" to="form[user_pwd]" msg="<?php echo $this->_tpl_vars['systemLang']['inconsistentEnter']; ?>
"/></td>
    </tr>
    <tr><th align="left"><?php echo $this->_tpl_vars['systemLang']['userGroup']; ?>
</th>
    </tr>
    <tr>
        <td align="left">
            <select name="form[group_id]" class="select" >
                <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['groups'],'selected' => $this->_tpl_vars['user']['group_id']), $this);?>

            </select>
        </td>
    </tr>
    <tr>
     <tr><th align="left"><?php echo $this->_tpl_vars['systemLang']['attr']; ?>
</th>
    </tr>
    <tr>
     <td align="left"><input name="form[user_status]" type="radio" value="1" <?php if ($this->_tpl_vars['user']['user_status'] == 1): ?> CHECKED <?php endif; ?>/><?php echo $this->_tpl_vars['systemLang']['startUse']; ?>
<input name="form[user_status]" type="radio" value="0" <?php if ($this->_tpl_vars['user']['user_status'] == 0): ?>  CHECKED <?php endif; ?>/><?php echo $this->_tpl_vars['systemLang']['stopUse']; ?>
</td>
    </tr>
    
    <tr><th align="left">Email</th>
    </tr>
      <tr>
      <td align="left"><input type="text" class="text" name="form[user_email]" id="form[user_email]" value="<?php echo $this->_tpl_vars['user']['user_email']; ?>
" /></td>
    </tr>
    <tr>
    <tr><th align="left"><?php echo $this->_tpl_vars['systemLang']['telephone']; ?>
</th>
    </tr>
      <tr>
      <td align="left"><input type="text" class="text" name="form[user_phone]" id="form[user_phone]" value="<?php echo $this->_tpl_vars['user']['user_phone']; ?>
" /></td>
    </tr>

  <tr>
    <th>渠道权限</th>
  </tr>
    <tr>
      <td>
          <select name="channels[]" multiple="true" size="10" style="width:200px">
                  <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['channels'],'selected' => $this->_tpl_vars['mychannels']), $this);?>

          </select>
       </td>
    </tr>

</table>
<!--
</div>
<div id="tab2" class="tab">
<table width="100%" border="0" class="adminform">
 <tr><th align="left"><?php echo $this->_tpl_vars['systemLang']['userGroup']; ?>
</th>
    </tr>
    <tr>
      <td align="left">
		<select name="form[group_id]" class="select" >  
			<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['groups'],'selected' => $this->_tpl_vars['user']['group_id']), $this);?>

		</select>
	   </td>
    </tr>
    <tr>
    <th align="left"><?php echo $this->_tpl_vars['systemLang']['gameAuth']; ?>
</th>
  </tr>
  <tr>
    <td align="left">
		<select name="games[]" multiple="true" size="10" style="width:200px">
                <option value="0"><?php echo $this->_tpl_vars['systemLang']['allGame']; ?>
</option>
                <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['games'],'selected' => $this->_tpl_vars['userGames']), $this);?>

        </select>
     </td>
  </tr>
  <tr>
    <th align="left"><?php echo $this->_tpl_vars['systemLang']['spreader']; ?>
</th>
  </tr>
  <tr>
    <td align="left" id="my_lm">
        <select name="user_lm[]" multiple="true" size="10" style="width:200px">
                <option value="0"><?php echo $this->_tpl_vars['systemLang']['allUnion']; ?>
</option>
                <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['unions'],'selected' => $this->_tpl_vars['myunions']), $this);?>

        </select>
    </td>
</tr>
  </table>
</div> -->
<input type="hidden" name="form[user_id]" value="<?php echo $this->_tpl_vars['user']['user_id']; ?>
"/>
<input type="submit"  id="button" value="<?php echo $this->_tpl_vars['systemLang']['submit']; ?>
" class="button"/>
</form>